package com.example.demo.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface orderRepository extends JpaRepository<order, Long> {
    List<order> findByBuyName(String buyName);

    List<order> findByBusinessName(String businessName);

    order findByOrderformId(long orderformId);

    void deleteByorderformId(long orderformId);
}